package com.example.ibsp_demo.homePagePost;

import com.example.ibsp_demo.service.location.LocationServiceImpl;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class test1 {
    @Autowired
    private LocationServiceImpl locationService;

    @Test
    public void test1(){
        System.out.println("当前城市是：");
        System.out.println(locationService.getCityByCoordinates(115.892151,28.676493));
    }

}
